package com.aliyun.oss.UserService.impl;

import com.aliyun.oss.UserMapper.SetmealMapper;
import com.aliyun.oss.UserService.SetmealService;
import com.aliyun.oss.pojo.Entity.SetMeal;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SetmealServiceImpl extends ServiceImpl<SetmealMapper, SetMeal> implements SetmealService {
    @Override
    public List<SetMeal> list(Integer categoryId) {
        List<SetMeal> categoryId1 = list(new QueryWrapper<SetMeal>().eq("category_id", categoryId));
        return categoryId1;
    }
}
